package com.erp.base.business.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.erp.base.base.CrudDao;
import com.erp.base.business.entity.ExpertUser;

/**
 * 专家表
 * @author wanghw
 * @email whongwei_yz@sina.com
 * @date 2018-10-22 11:31:32
 */
@Mapper
public interface ExpertUserDao extends CrudDao<ExpertUser, Long> {

	public ExpertUser findByUserId(Long userId);

	public List<ExpertUser> findByCustomSort(@Param("serverId")Long serverId, @Param("userId")Long userId, @Param("order")String order);
	
	public List<ExpertUser> findExperts();
}
